package com.niit.session6;

public class Asssiment {
	public static void main(String[] args) {
//	= 赋值运算符，把右边的值赋值给左边的变量
		int a = 10;
		int b = 20;
//		a+=b等价于a= a+b
		a+=b;
		System.out.println(a);//30
		a-=b;
		System.out.println(a);//10
		
		
	}

}
